package com.tm.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tm.media.model.entity.MaterialEntity;
import com.tm.media.utils.utils.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author Ly
 * @Data 2023/2/23 19:10
 * @ClassName MaterialService
 */
public interface MaterialService extends IService<MaterialEntity> {
    Result listMaterial(MaterialEntity materialEntity);

    Result upload_picture(MultipartFile multipartFile) throws IOException;

    Result collect(MaterialEntity materialEntity);

    Result del_picture(MaterialEntity materialEntity);
}
